package com.qf.ssm.mapper.order;

import com.qf.ssm.entity.order.EvluationReply;
import com.qf.ssm.entity.order.OrderReview;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
*   @author hzy
*   @DATE  2021/2/26
*/

public interface OrderReviewMapper {

    List<OrderReview> selectAllEva();

    OrderReview selectByNumbs(@Param("numbs") String numbs);

    List<OrderReview>selectByMessage(@Param("goodMessage") String goodMessage);

    int insertByOrid(EvluationReply evluationReply);

    int updateReviewByOrid(EvluationReply evluationReply);

    int deleteByPrimaryKey(Integer orId);


    int insert(OrderReview record);

    int insertSelective(OrderReview record);

    OrderReview selectByPrimaryKey(Integer orId);


    int updateByPrimaryKeySelective(OrderReview record);



    int updateBystatus(@Param("orId") int orId,@Param("status") int status);
}